package com.dgut.admin.result;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author zyq
 * @Date 2022/4/18 10:04
 * @Description TODO
 * @Version 1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderExcelResult {
    /**
     * 订单ID
     */
    @ExcelProperty(value = "订单号", index = 0)
    private String id;

    /**
     * 雇主姓名
     */
    @ExcelProperty(value = "发布用户", index = 1)
    private String employerName;

    /**
     * 回收员姓名
     */
    @ExcelProperty(value = "回收员", index = 2)
    private String collectorName;

    /**
     * 订单金额，单位为元
     */
    @ExcelProperty(value = "订单金额", index = 3)
    private String amount;

    /**
     * 总重量，单位为千克
     */
    @ExcelProperty(value = "废品重量", index = 4)
    private String totalWeight;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址", index = 5)
    private String address;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "订单备注", index = 6)
    private String remark;

    /**
     * 订单状态：0-待接单，1-待回收，2-已回收，3-已完成，4-已取消，5-已超时
     */
    @ExcelProperty(value = "订单状态", index = 7)
    private String state;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "发布时间", index = 8)
    private Date createTime;

    /**
     * 预约回收员上门时间
     */
    @ExcelProperty(value = "预约时间", index = 9)
    private Date subscriptionTime;


    /**
     * 订单结束时间
     */
    @ExcelProperty(value = "完成时间", index = 10)
    private Date finishTime;


}
